<template>
  <dialog_item :dialogTitle="'同步情况'"  :visible.sync="DingResultVisible" :isNotShowDefaultBtn="true">
    <p>{{$t('syn_success_department')}}{{DingResult.DEPT_ADD_SUCCESS}}{{$t('individual')}}，{{$t('failed')}}{{DingResult.DEPT_ADD_FAIL}}{{$t('individual')}}。</p>
    <p>{{$t('syn_success_user')}}{{DingResult.USER_ADD_SUCCESS}}{{$t('individual')}}，{{$t('failed')}}{{DingResult.USER_ADD_FAIL}}{{$t('individual')}}。</p>
    <el-table :data="DingResult.ERRORS" height="300px">
      <el-table-column
        prop="NAME"
        :label="$t('dingding_name')"
        width="120">
      </el-table-column>
      <el-table-column
        prop="ERROR"
        :label="$t('error_msg')"
        width="180">
      </el-table-column>
      <el-table-column
        prop="TIP"
        :label="$t('error_msg')">
      </el-table-column>
    </el-table>
    </dialog_item>
</template>

<script>
export default {
  created() {
  },
  
  computed: {
    DingResultVisible: {
      get() {
        return this.visible;
      },
      set(val) {
        this.$emit("update:visible", val);
      }
    }
  },
  props: ['visible',"DingResult"],
  data() {
    return {

    };
  },
  methods: {
  }
};
</script>

<style>
</style>